home *** CD-ROM | disk | FTP | other *** search
/ Cre@te Online 2000 December / Cre@teOnline CD05.iso / MacSoft / XML ConsoleMax.sea / XML ConsoleMax / Required / esc.jar / com / extensibility / xa / BatchProcessor$SaveSchemaCommand.class (.txt) < prev    next >
Encoding:
Java Class File  |  2000-06-30  |  986 b   |  26 lines

  1. package com.extensibility.xa;
  2.  
  3. import com.extensibility.app.BaseDocument;
  4. import com.extensibility.xml.URI;
  5. import java.awt.event.ActionEvent;
  6.  
  7. public class BatchProcessor$SaveSchemaCommand implements BatchProcessor.BatchCommand {
  8.    // $FF: synthetic field
  9.    final BatchProcessor this$0;
  10.    URI uri;
  11.  
  12.    public BatchProcessor$SaveSchemaCommand(BatchProcessor var1, URI var2) {
  13.       this.this$0 = var1;
  14.       this.uri = var2;
  15.    }
  16.  
  17.    public synchronized boolean doCommand() throws InterruptedException {
  18.       BaseDocument var1 = this.this$0.isDocAddedToDesktop(this.uri);
  19.       if (var1 != null) {
  20.          var1.save((ActionEvent)null);
  21.       }
  22.  
  23.       return true;
  24.    }
  25. }
  26.